package com.lst.api.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Pattern;

/**
 * @author: WANG.WEI.FAN
 * @date: 2019/4/30 15:12
 * @version: V1.0
 */
@Data
@NoArgsConstructor
public class LoginByPwdRequest {

    @ApiModelProperty(name = "username", value = "用户名", required = true, dataType = "String")
    @NotBlank
    private String username;

    @ApiModelProperty(name = "password", value = "密码", required = true, dataType = "String")
    @NotBlank
    private String password;
}
